package com.gugee.ins.web.model.mysql;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

/**
 * @author yzz
 * @Date 2021-01-06 17:31:01
 */
@Data
@Table(value="ins_dic_generation")
public class InsDicGeneration implements Serializable{

    /**
     *id
     */
    @Id
    @Column(value="id")
    private Long id;

    /**
     *年龄段名称
     */
    @Column(value="generation_name")
    private String generationName;

    /**
     *年龄段开始值
     */
    @Column(value="generation_start")
    private Integer generationStart;

    /**
     *年龄段结束值
     */
    @Column(value="generation_end")
    private Integer generationEnd;

    /**
     *年龄段类型(1：年龄段，2：成年/未成年)
     */
    @Column(value="generation_type")
    private Byte generationType;

    /**
     *创建时间
     */
    @Column(value="create_time")
    private Long createTime;

}